#ifndef ABSINT_H
#define ABSINT_H
/*
	if a class is defined for representing an operation,
	the function call operator can be overloaded for this class.
*/
class absInt{
public:
	absInt(){}
	int operator()(int val){
		int result=(val>0) ? val: -val;
		return result;
	}
};

#endif